<?php

	class SmartyUtils{
	      
	      public function getSmarty(){
	          require_once('plugins/smarty/Smarty.class.php');
	          
	          $smarty = new Smarty();
	          $smarty->cache_dir = 'templates/';
	          $smarty->compile_dir = 'templates/tmp/';
	          $smarty->template_dir = 'templates/';
	          
	          return $smarty;
	      }
	      
	  }

?>